package com.cangxuan.app.ui.user;

import android.util.Log;
import android.widget.Button;
import android.widget.EditText;
import android.os.Bundle;
import androidx.constraintlayout.widget.ConstraintLayout;
import com.cangxuan.app.R;
import com.cangxuan.app.ui.BaseActivity;
/**
 * 提现页面
 * 作者：田凯
 */
public class WithdrawalsActivity extends BaseActivity {


    ConstraintLayout WithdrawalsCard;
    EditText editText;
    Button btnWithdrawals;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_withdrawals);
        setTitle("提现");
//
        WithdrawalsCard=findViewById(R.id.WithdrawalsCard);
        btnWithdrawals=findViewById(R.id.btnWithdrawals);
        editText=findViewById(R.id.editText);

        WithdrawalsCard.setOnClickListener(view -> {
            Log.i("WithdrawalsCard","rechargeMethod被点击了。。切换支付银行卡");
        });

        btnWithdrawals.setOnClickListener(view -> {
            Log.i("btnWithdrawals","btnWithdrawals  点击了提现按钮,获取到的用户输入金额为:"+editText.getText()+"元");

        });

    }
}